import { Module } from "@nestjs/common";
import {jwtService} from "./config.service"
import {utils} from "./config.utils"

import {PassportModule} from "@nestjs/passport";
import {JwtModule} from  "@nestjs/jwt";

 @Module({
    imports:[],
    providers:[{
        provide:"jwt",
        useClass:jwtService
    },
    {
        provide:"utils",
        useClass:utils
    }],
    controllers:[],
    exports:[
        {
            provide:"jwt",
            useClass:jwtService
        },
        {
            provide:"utils",
            useClass:utils
        }
    ]
 })
 export class ConfigModule{}